package com.qf.ability.message.entity;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * author Ken
 * create_time 2022/10/16
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
public class Message implements Serializable {

    private String id;//消息类型
    private String from;//消息来源
    private String to;//消息目标
    private Object content;//内容

    //第一次连接
    private String token;//令牌
    private String role;//角色
    private Integer cid;//课程id
    private Integer uid;//用户id

}
